package com.yuanfeng.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuanfeng.business.entity.ShopAccountPeriodEntity;
import com.yuanfeng.commoms.vo.shop.AccountPeriodVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Entity com.yuanfeng.business.entity.ShopAccountPeriod
 */
@Mapper
public interface ShopAccountPeriodMapper extends BaseMapper<ShopAccountPeriodEntity> {

    /**
     * 查找店铺会员账期信息
     *
     * @param shopId
     * @param userId
     * @return
     */
    AccountPeriodVO getAccountPeriodByIds(@Param("shopId") String shopId, @Param("userId") String userId);
}




